home *** CD-ROM | disk | FTP | other *** search
-
-
-
- ppppoooollllffff((((3333GGGG)))) ppppoooollllffff((((3333GGGG))))
-
-
-
- NNNNAAAAMMMMEEEE
- ppppoooollllffff,,,, ppppoooollllffffiiii,,,, ppppoooollllffffssss,,,, ppppoooollllffff2222,,,, ppppoooollllffff2222iiii,,,, ppppoooollllffff2222ssss - draws a filled polygon
-
- CCCC SSSSPPPPEEEECCCCIIIIFFFFIIIICCCCAAAATTTTIIIIOOOONNNN
- vvvvooooiiiidddd ppppoooollllffff((((lllloooonnnngggg nnnn,,,, ccccoooonnnnsssstttt CCCCoooooooorrrrdddd ppppaaaarrrrrrrraaaayyyy[[[[]]]][[[[3333]]]]))))
-
- vvvvooooiiiidddd ppppoooollllffffiiii((((lllloooonnnngggg nnnn,,,, ccccoooonnnnsssstttt IIIIccccoooooooorrrrdddd ppppaaaarrrrrrrraaaayyyy[[[[]]]][[[[3333]]]]))))
-
- vvvvooooiiiidddd ppppoooollllffffssss((((lllloooonnnngggg nnnn,,,, ccccoooonnnnsssstttt SSSSccccoooooooorrrrdddd ppppaaaarrrrrrrraaaayyyy[[[[]]]][[[[3333]]]]))))
-
- vvvvooooiiiidddd ppppoooollllffff2222((((lllloooonnnngggg nnnn,,,, ccccoooonnnnsssstttt CCCCoooooooorrrrdddd ppppaaaarrrrrrrraaaayyyy[[[[]]]][[[[2222]]]]))))
-
- vvvvooooiiiidddd ppppoooollllffff2222iiii((((lllloooonnnngggg nnnn,,,, ccccoooonnnnsssstttt IIIIccccoooooooorrrrdddd ppppaaaarrrrrrrraaaayyyy[[[[]]]][[[[2222]]]]))))
-
- vvvvooooiiiidddd ppppoooollllffff2222ssss((((lllloooonnnngggg nnnn,,,, ccccoooonnnnsssstttt SSSSccccoooooooorrrrdddd ppppaaaarrrrrrrraaaayyyy[[[[]]]][[[[2222]]]]))))
-
- All of the above routines are functionally the same. They differ only in
- the declared type of their parameters and whether or not they assume a
- two-dimensional or three-dimensional world.
-
- PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRRSSSS
- _n expects the number of vertices in the polygon.
-
- _p_a_r_r_a_y expects the array containing the vertices of the polygon.
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- ppppoooollllffff fills the polygonal area bounded by the vertices specified in
- _p_a_r_r_a_y. The first and last vertices connect automatically to close a
- polygon. The vertices can be expressed as integers, shorts, or real
- numbers, in 2-D or 3-D space. 2-D polygons are drawn with _z=0. After
- the polygon is filled, the current graphics position is set to the first
- vertex in the array.
-
- Properties that affect the drawing of polygons include the current color,
- writemask, fill pattern, shade model, polygon antialiasing mode, polygon
- scan conversion mode, and subpixel mode. Some polygon modes are
- applicable only if old-style scan conversion is defeated. (See note
- below.)
-
- There can be no more than 256 vertices in a polygon. In addition, ppppoooollllffff
- cannot correctly draw polygons that intersect themselves.
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- backface, bgnpolygon, concave, frontface, glcompat, poly, polymode,
- polysmooth, scrsubdivide, setpattern, shademodel, subpixel
-
- NNNNOOOOTTTTEEEE
- By default ppppoooollllffff draws a polygon using the old-style scan conversion
- algorithm, rather than the point sampling algorithm used by bbbbggggnnnnppppoooollllyyyyggggoooonnnn
- and eeeennnnddddppppoooollllyyyyggggoooonnnn. Point sampling is prefered over old-style scan
- conversion because it has higher performance, it results in higher-
- quality images when blending, logical operations, or stenciling are used,
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-
-
-
- ppppoooollllffff((((3333GGGG)))) ppppoooollllffff((((3333GGGG))))
-
-
-
- and it supports new rendering features such as texture mapping, fog, and
- antialiasing. Call ggggllllccccoooommmmppppaaaatttt((((GGGGLLLLCCCC____OOOOLLLLDDDDPPPPOOOOLLLLYYYYGGGGOOOONNNN,,,,0000)))) to enable point sampling
- of polygons generated by ppppoooollllffff.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 2222
-
-
-
-